package com.yidu.erp.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import javax.annotation.Resource;

import com.yidu.erp.service.BeyondModel.ModelService;

/**
 * 模块表
 * @author wws
 * @date  2017年11月20日
 */
public class BeyondModel {
    private String modelId;//模块id


    private String modelName;//模块名称


    private String modelCode;//下级模块访问地址
    
    private String modelSumid;//上级模块ID
    
    private String modelSjname;//上级模块名称,仅用在页面上显示
    
    private Date  createTime;//添加时间
    
    private String isva;//是否有效
    
    private List<BeyondModel> modelList = new ArrayList<BeyondModel>();//下级模块集合
    
    @Resource
	private ModelService modelService ;
    
	public List<BeyondModel> getModelList() {
		return modelList;
	}


	public void setModelList(List<BeyondModel> modelList) {
		this.modelList = modelList;
	}
	


	public String getModelSumid() {
		return modelSumid;
	}

	
	public void setModelSumid(String modelSumid) {
		this.modelSumid = modelSumid;
	}

	public String getModelId() {
        return modelId;
    }

    public void setModelId(String modelId) {
        this.modelId = modelId == null ? null : modelId.trim();
    }


    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName == null ? null : modelName.trim();
    }

    public String getModelCode() {
        return modelCode;
    }

    public void setModelCode(String modelCode) {
        this.modelCode = modelCode == null ? null : modelCode.trim();
    }
    
    public String getModelSjname() {
    	
		return modelSjname;
	}


	
	public void setModelSjname(String modelSjname) {
		this.modelSjname = modelSjname;
	}


	
	public Date getCreateTime() {
		return createTime;
	}


	
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	
	public String getIsva() {
		return isva;
	}


	
	public void setIsva(String isva) {
		this.isva = isva;
	}
	
	

}